<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		body{
			background-image:url(img/bb.jpg);
			background-repeat:repeat-x;
		}
	</style>
</head>
<body class="body">
	<%@ include file="include/main-top.jsp" %>
	<div class="container">
	  <div class="row">
		<jsp:include page="include/left.jsp">
			<jsp:param value="doc" name="tag"/>
		</jsp:include>
		<div class="span9">
			
			<form action="doc.jspx?m=edit" method="post">
		        <fieldset>
		          <legend>编辑资料</legend>
		          	<c:if test="${param.state == '10000' }">
						<div id="addemp" class="alert alert-info fade in" >
				            <a href="#" data-dismiss="alert" class="close">×</a>
				            <strong>恭喜您,修改资料成功!</strong>
				        </div>
					</c:if>
		          <div class="control-group">
		            <label for="input01" class="control-label">标题</label>
		            <div class="controls">
		              <input type="text" x-webkit-speech="undefined" id="input01" class="span9" name="doctitle" placeholder="${document.title} ">
		            </div>
		          </div>
				  <div class="control-group">
		            <label for="input01" class="control-label">内容</label>
		            <div class="controls">
		              <textarea rows="15" class="span9" id="" name="doccontent" placeholder="${document.content }"></textarea>
		            </div>
		          </div>
		
		          <div class="form-actions">
		            <button class="btn btn-primary" type="submit">保存</button>
		            <button class="btn"><a href="doc.jspx?m=jump2doc&projectid=${pid }">返回</a></button>
		          </div>
		        </fieldset>
     		 </form>          
          	
		</div>
	  </div>
	</div>
</body>

</html>